package com.guigu.www.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("sys_authorization")
public class Authorization {
    @TableId(value ="auid",type= IdType.AUTO)
    private Integer auid;  //权限id

    private String auname;  //权限名字

    private String auurl;   //权限路径

    private Integer status;  //状态
    @TableField(exist = false)
    private List<Menus> menus;
    @TableField(exist = false)
    private boolean check;
}
